package com.village.zpark.pojo;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name="admin")
public class Admin {
    @Id
    @Column(name ="id")
    private Integer id;
    @Column(name="adminname")
    private String adminname;
    @Column(name="password")
    private String password;
    @Column(name="role")//0是管理员，1是用户
    private String role;
/*
    @Column(name = "user_number")
    private String number;
    @Column(name = "user_email")
    private String email;
*/

}
